package com.dks.mapper;

import com.dks.models.TextDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


@Mapper
public interface TextDetailMapper {

    Integer insert(TextDetail TextDetail);

    Integer update(TextDetail TextDetail);

    Integer delete(@Param("id") Long id);

    TextDetail selectByType(@Param("type") Integer type);

}
